<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 
 <%
 	List<Activity> li = (List<Activity>)session.getAttribute("list");
 
 
 %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="java.util.List"%>
<%@page import="com.doone.telmarket.domain.Activity"%>
<%@page import="java.text.SimpleDateFormat"%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
<title>电信应用超市 - 语音及短信增值业务</title>
    <link href="${pageContext.request.contextPath}/css/style.css" rel="stylesheet" type="text/css" />
    <link href="${pageContext.request.contextPath}/css/style_link.css" rel="stylesheet" type="text/css" />
    <link href="${pageContext.request.contextPath}/css/tab.css" rel="stylesheet" type="text/css" />
</head>
<center>
<body>
<table width="986" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><a href="#"></a>
    <iframe src="${pageContext.request.contextPath}/web/common/head.jsp" width="100%" height="267" scrolling="no" frameborder="0"></iframe></td>
  </tr>
</table>
<table width="987" border="0" cellpadding="0" cellspacing="0" style="margin-bottom:8px;">
  <tr>
    <td height="16" align="left" valign="middle" class="huise_12">&nbsp;<a href="index.htm">超市首页</a> &gt; 精彩促销推荐</td>
  </tr>
</table>
<iframe src="${pageContext.request.contextPath}/admin/templete/classification.jsp" width="986" height="50px" frameborder="0"  marginwidth="0" marginheight="0"  scrolling="no"></iframe>
<table width="987" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="774" height="500" align="left" valign="top"><table width="769" height="26" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="10"><img src="${pageContext.request.contextPath}/images/list/index_2.gif" width="10" height="30" /></td>
        <td width="753" background="${pageContext.request.contextPath}/images/list/index_3.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="10" align="center" valign="middle" class="baise_14"><img src="${pageContext.request.contextPath}/images/lm_01.gif" width="10" height="30" /></td>
              <td width="115" align="center" valign="middle" background="${pageContext.request.contextPath}/images/lm_03.gif" class="baise_14" style="padding-top:2px;">精彩促销推荐</td>
              <td width="10" height="30" align="center" valign="middle" class="baise_14"><img src="${pageContext.request.contextPath}/images/lm_02.gif" width="10" height="30" /></td>
              <td width="614" height="30" align="left" valign="bottom">&nbsp;</td>
            </tr>
        </table></td>
        <td width="10" align="right"><img src="${pageContext.request.contextPath}/images/list/index_4.gif" width="10" height="30" /></td>
      </tr>
    </table>
<table width="769" height="880" border="0" cellpadding="0" cellspacing="0">
<tr>
            <td height="896" align="center" valign="top" style="border-left:1px solid #c2282a; border-right:1px solid #c2282a;"><table width="100%" height="18" border="0" cellpadding="0" cellspacing="0">
            <tr>
                  <td height="18"><a href="#"></a></a></td>
              </tr>
              </table>
              
              <%
              
              if(li!=null&&li.size()>0){
            	  SimpleDateFormat s = new SimpleDateFormat("yyyy年MM月dd日");
            	  for(int i=0;i<li.size();i++){
            		  %>
            		  <table width="723" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="723" height="133" align="center" valign="middle"><table width="723" height="137" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="361" align="left" valign="middle"><table width="354" height="125" border="0" cellpadding="0" cellspacing="0" >
                           

							<tr>
                              <td align="left" class="Hui_14_"><a href="<%=li.get(i).getUrl() %>" target="_blank">活动名称:<%=li.get(i).getTitle() %></a></td>
                          </tr>
                            <tr>
                              <td align="left" valign="middle" style="color:#666666;">活动时间:<%=s.format(li.get(i).getBegin()) %>-<%=s.format(li.get(i).getEnd()) %></td>
                            </tr>
                            <tr>
                              <td align="left" valign="middle" style="color:#666666;">活动对象:<%=li.get(i).getPerson() %></td>
                            </tr>
                            <tr>
                              <td align="left" valign="middle" style="color:#666666;">活动简介:<%=li.get(i).getContent() %></td>
                            </tr>
                        </table></td>
                        <td width="362" align="center"><a href="<%=li.get(i).getUrl() %>" target="_blank"><img src="${pageContext.request.contextPath}/<%=li.get(i).getBigImage() %>" width="354" height="121" /></a></td>
                    </tr>
                  </table></td>
                </tr>
              </table>
              <table width="723" border="0" cellpadding="0" cellspacing="0" style="margin-bottom:8px; border-bottom:1px dashed #cccccc">
                <tr>
                  <td height="2"></td>
                </tr>
              </table>
            		  
            		  <%
            	  }
              }
              %>
              
              
              
              
              
             
              
              
              </td>
        </tr>
    </table>
      <table width="769" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:8px;">
          <tr>
            <td width="10"><img src="${pageContext.request.contextPath}/images/tab_foot_1.gif" width="10" height="6" /></td>
            <td width="749" background="${pageContext.request.contextPath}/images/tab_foot_2.gif"></td>
            <td width="10"><img src="${pageContext.request.contextPath}/images/tab_foot_3.gif" width="10" height="6" /></td>
          </tr>
<tr></tr>
    </table></td>
    <td width="213" align="right" valign="top">
	<iframe src="${pageContext.request.contextPath}/web/common/activity.html" width="100%"  height="317px"  frameborder="0"  marginwidth="0" marginheight="0"  scrolling="no"></iframe>
      <iframe src="${pageContext.request.contextPath}/web/common/m_left.jsp" width="100%" frameborder="0"  marginwidth="0" marginheight="0"  scrolling="no"></iframe> 
      <iframe src="http://www.ctmarket.cn/appstore/infoshow/handinner/right_paihang.html" width="101%" height="300px" frameborder="0"  marginwidth="0" marginheight="0"  scrolling="no"></iframe>
      </td>
  </tr>
</table>
<table width="986" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><iframe src="${pageContext.request.contextPath}/web/common/footer.html" width="986" height="159" scrolling="no" frameborder="0"></iframe></td>
  </tr>
</table>
</body></center>
</html>